import Vue from 'vue'
import Router from 'vue-router'
import Discover from './views/Discover'
import Account from './views/Account'
import Video from './views/Video'
import Forum from './views/Forum'
import Personal from './views/Personal'

Vue.use(Router)

export default new Router({
  mode: "history",
  routes: [
    {
      path: '/',
      name: 'discover',
      component: Discover
    },
    {
      path: '/account',
      name: 'account',
      component: Account
    },
    {
      path: '/video',
      name: 'video',
      component: Video
    },
    {
      path: '/forum',
      name: 'forum',
      component: Forum
    },
    {
      path: '/personal',
      name: 'personal',
      component: Personal
    }
  ]
})
